//
//  MXLockCircle.h
//  MXLoginMethodsDomo
//
//  Created by 马彦 on 16/9/27.
//  Copyright © 2016年 MX. All rights reserved.
//
/**
        圆圈
 */


#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, MXLockCircleState) {
    MXLockCircleStateNormal = 0,
    MXLockCircleStateSelected,
    MXLockCircleStateFill,
    MXLockCircleStateError
};

@interface MXLockCircle : UIView

@property (nonatomic, assign) MXLockCircleState state;
@property (nonatomic, assign) CGFloat diameter;


- (instancetype)initWithDiameter:(CGFloat)diameter;

- (void)updateCircleState:(MXLockCircleState)state;

@end
